import 'package:guochaoapp/generated/json/base/json_convert_content.dart';

import 'cart_settle_entity.dart';

class OrderDetailEntity with JsonConvert<OrderDetailEntity> {
	bool success;
	String msg;
	int code;
	OrderDetailData data;
	dynamic sign;
}

class OrderDetailData with JsonConvert<OrderDetailData> {
	String mallOrderNo;
	String mallOrderStatus;
	String receiverName;
	String receiverPhone;
	String receiverAddr;
	String createAt;
	double priceTotal;
	double freightTotal;
	double balanceDeductionTotal;
	double paymentPriceTotal;
	double weightTotal;
	bool canCancel;
	List<CartSettleDataItemList> itemList;
	OrderDetailDataReceiptCardDTO receiptCardDTO;
	dynamic expireHours;
	bool canInvoice;
	bool hasInvoiced;
	bool canReturn;
	bool hasReturn;
	double returnPriceTotal;
	List<OrderDetailDataReturnItemList> returnItemList;
}

class OrderDetailDataReceiptCardDTO with JsonConvert<OrderDetailDataReceiptCardDTO> {
	String companyName;
	String bankName;
	String branchName;
	String cardNo;
	bool countDown;
	int createStamp;
	int endStamp;
}

class OrderDetailDataReturnItemList with JsonConvert<OrderDetailDataReturnItemList> {
	int skuId;
	int brandId;
	String brandName;
	String spuName;
	String skuSpec;
	double weight;
	int num;
	int stock;
	double price;
	dynamic buyLimit;
	dynamic updateAt;
	double mallFee;
	double repoFee;
	double returnFee;
}
